#ifndef TANK_H
#define TANK_H

#include "object.h"
#include "resman.h"

class Tank : public Object
{
    public:
        Tank();
        virtual ~Tank();

        i32 Render();
        i32 SetAngle(i32 ang);
        i32 Rotate(u32 dir);        // 0 - left, 1 - right
        i32 Drive(u32 dir);         // 0 - back, 1 - forrward



        i32 *mousex, *mousey;
        i32 current_barrel_angle;

    protected:

        void DisplayBarrel();


    private:
};

#endif // TANK_H
